package com.naiterui.ehp.bs.cms.modules.statistics.mapper;

import java.util.List;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.naiterui.ehp.bs.cms.common.constants.DsName;
import com.naiterui.ehp.bs.cms.modules.statistics.entity.AsOrderCount;
import com.naiterui.ehp.bs.cms.modules.statistics.vo.CustomOrderVO;

/**
 * 经纪人统计-订单相关统计
 *
 * @author yangfuya
 * @since 2022/2/16
 */
@DS(DsName.EHP)
public interface AsOrderCountMapper extends BaseMapper<AsOrderCount> {
    Integer getOrder(Long docotorId);

    List<CustomOrderVO> getOrderTotal(Long doctorId, String typeFormat, String dateFormat, String reportDate);
}
